|
|
|
|
ForeColor Property, ColumnClass Class |
Defines the column's default foreground color for cells in the item area that are not selected.
Syntax ColumnClass Class (Softelvdm.SftTreeNET)
VB |
Public Property ForeColor As Color |
C# |
public Color ForeColor { get; set; } |
C++ |
public: property Color ForeColor { |
Property Value
The default foreground color for cells in this column or Color.Empty.
The default value is Color.Empty.
Comments
The ForeColor property defines the column's default foreground color for cells in the item area that are not selected.
Items and cells can override the foreground color using the ItemClass.ForeColor and CellBaseClass.ForeColor properties.
If Color.Empty is specified, cells use the default color defined using the control's ForeColor property instead, row headers use the RowHeaders.ForeColor property, column headers use the Headers.ForeColor property and column footers use the Footers.ForeColor property.
Selected cells may use the colors defined using the ForeColorSelected property instead.